A = {20, 30, 50, 80}
B = {10, 30, 50}
print(A & B)
print(A | B)
print(A - B)
print(A ^ B)
print('*' * 40)
print(A.intersection(B))
